<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>数据网格复杂工具栏 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../../locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
	<h2 title="DataGrid Complex Toolbar">数据网格复杂工具栏</h2>
	<p title="The DataGrid toolbar can be defined from a &lt;div&gt; markup, so you can define the layout of toolbar easily.">　　数据网格的工具栏可由 &lt;div&gt; 标记来定义，这样的话工具栏的布局也可轻松搞掂了。</p>
	<div style="margin:20px 0;"></div>
	<table class="easyui-datagrid" title="<c>复杂工具栏</c>" style="width:700px;height:250px"
			data-options="rownumbers:true,singleSelect:true,url:'datagrid_data1.json',method:'get',toolbar:'#tb',footer:'#ft'">
		<thead>
			<tr>
				<th data-options="field:'itemid',halign:'center'"><h title='Item ID'>物料编码</h></th>
				<th data-options="field:'productid',halign:'right'"><h title='Product ID'>品</h></th>
				<th data-options="field:'productname'"><h title='Product Name'>名</h></th>
				<th data-options="field:'listprice',align:'right',halign:'center'"><h title='List Price'>清单价格</h></th>
				<th data-options="field:'unitcost',align:'right',halign:'center'"><h title='Unit Cost'>成本单价</h></th>
				<th data-options="field:'attr1',halign:'center'"><h title='Attribute'>物料属性</h></th>
				<th data-options="field:'status',align:'center'"><h title='Status'>状态</h></th>
			</tr>
		</thead>
	</table>
	<div id="tb" style="padding:2px 5px;">
		起止日期：<input class="easyui-datebox" style="width:110px">
		~<input class="easyui-datebox" style="width:110px">
		开发语言：
		<select class="easyui-combobox" panelHeight="auto" style="width:100px">
			<option value="java">Java</option>
			<option value="c">C</option>
			<option value="basic">Basic</option>
			<option value="perl">Perl</option>
			<option value="python">Python</option>
		</select>
		<a href="#" class="easyui-linkbutton" iconCls="icon-search">搜索</a>
	</div>
	<div id="ft" style="padding:2px 5px;">
		<a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true"></a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true"></a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true"></a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-cut" plain="true"></a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true"></a>
	</div>
</body>
</html>